{{ $context := . }}

{{ if $context.User.IsAuthenticated }}
    <form method="POST" action="{{$context.SignoutUrl}}">
        <button class="btn btn-sm btn-outline-secondary text-white" type="submit">
            Sign Out
        </button>
    </form>
{{ end }}
